package com.ufsoft.ntb.table;

/**
 * <p>Title: </p>
 * <p>Description: </p>
 * <p>Copyright: Copyright (c) 2003</p>
 * <p>Company: UFSOFT</p>
 * @author wupeng
 * @version 1.0.0.1
 */

public class TableDataModelException
    extends Exception {
  private int errorCode;
  public final static int UNDEFINE = 0;
  public final static int BEYOND_MAXROW = 1;
  public final static int BEYOND_MAXCOLUMN = 2;
  public TableDataModelException() {
    super();
  }

  public TableDataModelException(int error) {
    super();
    this.errorCode = error;
  }

  public int getErrorCode() {
    return errorCode;
  }

}